/**
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import '~/styles/variables';

.popupRoot {
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
  background: rgba(21, 21, 21, 0.5);
  display: flex;
  height: 100%;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  width: 100%;
  z-index: 100;

  .popup {
    background: $dark;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    max-width: 320px;
    padding: 30px;
    width: 100%;

    h2,
    span {
      color: $white;
    }

    h2 {
      font-family: 'Google Sans';
      font-size: 22px;
      font-style: normal;
      font-weight: 700;
      line-height: 140%;
      margin-bottom: 20px;
    }

    span {
      font-family: 'Google Sans Text';
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
      margin-bottom: 20px;
    }

    .actions {
      align-items: center;
      display: flex;
      gap: 9px;
    }
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
